package com.lijie.bs_recruit.model;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author lijie
 * @since 2021-04-07
 */
@ApiModel(value="Jobcollection对象", description="")
public class Jobcollection implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "用户id")
    @TableField("userId")
    private Integer userId;

    @ApiModelProperty(value = "岗位id")
    @TableField("positionId")
    private Integer positionId;

    @ApiModelProperty(value = "收藏时间")
    @TableField("createtime")
    private Date createtime;

    //逻辑删除
    @ApiModelProperty(value = "收藏时间")

    @TableField("isDeleted")
    private Integer isDeleted;

    @TableField(exist = false)
    private Position position;

    @TableField(exist = false)
    private String companyImg;

    public Position getPosition() {
        return position;
    }

    public String getCompanyImg() {
        return companyImg;
    }

    public void setCompanyImg(String companyImg) {
        this.companyImg = companyImg;
    }


    public void setPosition(Position position) {
        this.position = position;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getPositionId() {
        return positionId;
    }

    public void setPositionId(Integer positionId) {
        this.positionId = positionId;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        return "Jobcollection{" +
        "userId=" + userId +
        ", positionId=" + positionId +
        ", createtime=" + createtime +
        "}";
    }
}
